package com.lbd99.data.lbd.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.lbd99.data.lbd.vo.TOrder;

public interface TOrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TOrder record);

    int insertSelective(TOrder record);

    TOrder selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TOrder record);

    int updateByPrimaryKey(TOrder record);

    List<TOrder> selectOrderListTimeOut();
    
    int updateOrder(TOrder order);

	List<Map<String, Object>> selectListByMap(Map<String, Object> map);
	
	List<Map<String, Object>> getBusinessList(Map<String, Object> map);

	List<Map<String, Object>> selectOrderRelationListByMap(Map<String, Object> map);

	List<Map<String, Object>> selectOrderRelationListToday();

	List<Map<String, Object>> selectOrderRelationListWeek(Map<String, Object> map);

	TOrder selectByOrderNo(String orderCode);

}